
***********************************************************************************************
***1. LOAD AND SET UP DATA
***********************************************************************************************

**This analysis uses the Integrated WVS and EVS Trend File (EVS V3, WVS V4) found at: https://europeanvaluesstudy.eu/methodology-data-documentation/integrated-values-surveys/data-and-documentation/. Must download the WVS trend file and EVS trend file and then use merge syntax.

use [Path to integrated trend file]

**Start by coding parties, dropping non-relevant cases, and creating variables.
	gen case = 0
	gen rosetopower = 0
	gen fellfrompower = 0
	gen afterelection = 0
	

	**Argentina
	replace case = 1 if S025==322013
	replace case = 1 if S025==322017
	replace afterelection = 1 if S025==322017
	gen argentina = 0
	replace argentina = 1 if S025==322013
	replace argentina = 1 if S025==322017
	replace fellfrompower = 1 if E179WVS==32001
	replace rosetopower = 1 if E179WVS==32009
	replace fellfrompower = 1 if E179WVS==32012
	replace fellfrompower = 1 if E179WVS==32101
	replace rosetopower = 1 if E179WVS==32005
	replace rosetopower = 1 if E179WVS==32105

	**Australia
	replace case = 1 if S025==362012
	replace case = 1 if S025==362018
	replace afterelection = 1 if S025==362018
	gen australia = 0
	replace australia = 1 if S025==362012
	replace australia = 1 if S025==362018
	replace fellfrompower = 1 if E179WVS==36001
	replace fellfrompower = 1 if E179WVS==36004
	replace rosetopower = 1 if E179WVS==36002
	replace rosetopower = 1 if E179WVS==36003

	
	**Cyprus
	replace case = 1 if S025==1962011
	replace case = 1 if S025==1962019
	replace afterelection = 1 if S025==1962019
	gen cyprus = 0
	replace cyprus = 1 if S025==1962011
	replace cyprus = 1 if S025==1962019
	replace fellfrompower = 1 if E179WVS==196001
	replace rosetopower = 1 if E179WVS==196002
	replace rosetopower = 1 if E179WVS==196010
	
	**Japan
	replace case = 1 if S025==3922010
	replace case = 1 if S025==3922019
	replace afterelection = 1 if S025==3922019
	gen japan = 0
	replace japan = 1 if S025==3922010
	replace japan = 1 if S025==3922019
	replace rosetopower = 1 if E179WVS==392001
	replace rosetopower = 1 if E179WVS==392003
	replace fellfrompower = 1 if E179WVS==392002
	replace fellfrompower = 1 if E179WVS==392025
	replace fellfrompower = 1 if E179WVS==392026
	replace fellfrompower = 1 if E179WVS==392027
	
	**Mexico
	replace case = 1 if S025==4842012
	replace case = 1 if S025==4842018
	replace afterelection = 1 if S025==4842018
	gen mexico = 0
	replace mexico = 1 if S025==4842012
	replace mexico = 1 if S025==4842018
	replace fellfrompower = 1 if E179WVS==484002
	replace rosetopower = 1 if E179WVS==484001
	replace rosetopower = 1 if E179WVS==484005
	
	**New Zealand
	replace case = 1 if S025==5542011
	replace case = 1 if S025==5542020
	replace afterelection = 1 if S025==5542020
	gen newzealand = 0
	replace newzealand = 1 if S025==5542011
	replace newzealand = 1 if S025==5542020
	replace fellfrompower = 1 if E179WVS==554006
	replace rosetopower = 1 if E179WVS==554005
	replace rosetopower = 1 if E179WVS==554007
	replace rosetopower = 1 if E179WVS==554004

	**Pakistan
	replace case = 1 if S025==5862012
	replace case = 1 if S025==5862018
	replace afterelection = 1 if S025==5862018
	gen pakistan = 0
	replace pakistan = 1 if S025==5862012
	replace pakistan = 1 if S025==5862018
	replace rosetopower = 1 if E179WVS==586007
	replace fellfrompower = 1 if E179WVS==586002
	replace fellfrompower = 1 if E179WVS==586003


	**Poland
	replace case = 1 if S025==6162012
	replace case = 1 if S025==6162017
	replace afterelection = 1 if S025==6162017
	gen poland = 0
	replace poland = 1 if S025==6162012
	replace poland = 1 if S025==6162017
	
	replace rosetopower = 1 if E179WVS==616031
	replace rosetopower = 1 if E181A==616044
	
	replace fellfrompower = 1 if E179WVS==616032
	replace fellfrompower = 1 if E179WVS==616002
	
	replace fellfrompower = 1 if E181A==616045
	replace fellfrompower = 1 if E181A==616048

	**Slovakia
	replace case = 1 if S025==7032017
	replace case = 1 if S025==7032022
	replace afterelection = 1 if S025==7032022
	gen slovakia = 0
	replace slovakia = 1 if S025==7032017
	replace slovakia = 1 if S025==7032022

	replace fellfrompower = 1 if E181A==703049
	replace fellfrompower = 1 if E181A==703006
	
	replace rosetopower = 1 if E181A==703045
	replace rosetopower = 1 if E181A==703048
	replace rosetopower = 1 if E181A==703047
	
	replace fellfrompower = 1 if E179WVS==703051
	replace fellfrompower = 1 if E179WVS==703006

	replace rosetopower = 1 if E179WVS==703047
	replace rosetopower = 1 if E179WVS==703050
	replace rosetopower = 1 if E179WVS==703049
	
	**SPAIN
	replace case = 1 if S025==7242011
	replace case = 1 if S025==7242017
	replace afterelection = 1 if S025==7242017
	gen spain = 0
	replace spain = 1 if S025==7242011
	replace spain = 1 if S025==7242017
	replace fellfrompower = 1 if E179WVS==724001
	replace rosetopower = 1 if E179WVS==724002
	replace fellfrompower = 1 if E181A==724001
	replace rosetopower = 1 if E181A==724002
	
	**Sweden
	replace case = 1 if S025==7522011
	replace case = 1 if S025==7522017
	replace afterelection = 1 if S025==7522017
	gen sweden = 0
	replace sweden = 1 if S025==7522011
	replace sweden = 1 if S025==7522017
	
	replace rosetopower = 1 if E179WVS==752006
	replace rosetopower = 1 if E179WVS==752004
	replace fellfrompower = 1 if E179WVS==752005
	replace fellfrompower = 1 if E179WVS==752003
	
	replace rosetopower = 1 if E181A==752006
	replace rosetopower = 1 if E181A==752004
	replace fellfrompower = 1 if E181A==752005
	replace fellfrompower = 1 if E181A==752003

	**Taiwan
	replace case = 1 if S025==1582012
	replace case = 1 if S025==1582019
	replace afterelection = 1 if S025==1582019
	gen taiwan = 0
	replace taiwan = 1 if S025==1582012
	replace taiwan = 1 if S025==1582019
	replace rosetopower = 1 if E179WVS==158002
	replace rosetopower = 1 if E179WVS==158025
	replace fellfrompower = 1 if E179WVS==158001
	replace fellfrompower = 1 if E179WVS==158024

	
	**United States
	replace case = 1 if S025==8402011
	replace case = 1 if S025==8402017
	replace afterelection = 1 if S025==8402017
	gen unitedstates = 0
	replace unitedstates = 1 if S025==8402011
	replace unitedstates = 1 if S025==8402017
	replace rosetopower = 1 if E179WVS==840001
	replace fellfrompower = 1 if E179WVS==840002

		**Uruguay
	replace case = 1 if S025==8582011
	replace case = 1 if S025==8582022
	replace afterelection = 1 if S025==8582022
	gen uruguay=0
	replace uruguay = 1 if S025==8582011
	replace uruguay = 1 if S025==8582022

	replace rosetopower = 1 if E179WVS==858002
	replace rosetopower = 1 if E179WVS==858001
	replace fellfrompower = 1 if E179WVS==858003	
	
	
	drop if case == 0

***CONTROLS
	*age
	gen age = 0 
	replace age = X003
	
	gen male = 0
	replace male = 1 if X001==1
	
	gen married = 0
	replace married = 1 if X007==1
	
	gen parent = 0
	replace parent = 1 if X011>0.5
	
	gen loweredu = 0 
	replace loweredu = 1 if X025R == 1
	
	gen middleedu = 0 
	replace middleedu = 1 if X025R == 2
	
	gen higheredu = 0 
	replace higheredu = 1 if X025R == 3

	gen employed = 0
	replace employed = 1 if X028==1
	replace employed = 1 if X028==2
	replace employed = 1 if X028==3
	
	gen unemployed = 0
	replace unemployed = 1 if X028==7

	
****Starting analysis

gen partisaninpower = 0
replace partisaninpower = 1 if rosetopower ==1 & after==1
replace partisaninpower = 1 if fellfrompower==1 & after==0

gen countrynumber = 0
replace countrynumber = 1 if S025==322013
replace countrynumber = 1 if S025==322017

replace countrynumber = 2 if S025==362012
replace countrynumber = 2 if S025==362018

replace countrynumber = 3 if S025==1962011
replace countrynumber = 3 if S025==1962019

replace countrynumber = 4 if S025==3922010
replace countrynumber = 4 if S025==3922019

replace countrynumber = 5 if S025==4842012
replace countrynumber = 5 if S025==4842018

replace countrynumber = 6 if S025==5542011
replace countrynumber = 6 if S025==5542020

replace countrynumber = 7 if S025==5862012
replace countrynumber = 7 if S025==5862018

replace countrynumber = 8 if S025==6162012
replace countrynumber = 8 if S025==6162017

replace countrynumber = 9 if S025==7032017
replace countrynumber = 9 if S025==7032022

replace countrynumber = 10 if S025==7242011
replace countrynumber = 10 if S025==7242017

replace countrynumber = 11 if S025==7522011
replace countrynumber = 11 if S025==7522017

replace countrynumber = 12 if S025==1582012
replace countrynumber = 12 if S025==1582019

replace countrynumber = 13 if S025==8402011
replace countrynumber = 13 if S025==8402017

replace countrynumber = 14 if S025==8582011
replace countrynumber = 14 if S025==8582022


**Generating antidem

gen rejectantidem = 0
replace rejectantidem = (E114 + E116 - 2)

gen deemphasizeorder = 0
replace deemphasizeorder = 1 if E003!=1
replace deemphasizeorder = . if E003>=.

**generating excplicit support for democracy

gen explicitsupport = 0

	*need to invert E117 so higher values are the more democratic response. This also makes it range from 0-3.
	gen inverseE117 = 0
	replace inverseE117 = 4 - E117 
	
	gen scaledE235 = 0
	replace scaledE235 = (E235-1) / 3

replace explicitsupport = scaledE235 + inverseE117

gen conceptualizationscale = E229 - E233B


svyset [pweight=S017]

***********************************************************************************************
***2. Main Article Models and Figure
***********************************************************************************************

**Table 2 in main article

mixed explicitsupport i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] || countrynumber: partisaninpower, covariance (unstructured)

mixed rejectantidem i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] || countrynumber: partisaninpower, covariance (unstructured)

melogit deemphasizeorder i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] || countrynumber: partisaninpower, covariance (unstructured)
	*NOTE: You can run a margins command here, it just takes forever.

margins, dydx(*) post

mixed conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] || countrynumber: partisaninpower, covariance (unstructured)

**Figure 1. Run code as block down to coefplot command.
sort countrynumber

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==1
estimates store Argentina

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==2
estimates store Australia

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==3
estimates store Cyprus

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==4
estimates store Japan

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==5
estimates store Mexico

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==6
estimates store New_Zealand

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==7
estimates store Pakistan

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==8
estimates store Poland

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==9
estimates store Slovakia

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==10
estimates store Spain

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==11
estimates store Sweden

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==12
estimates store Taiwan

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==13
estimates store United_States

reg conceptualizationscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed [pweight=S017] if countrynumber==14
estimates store Uruguay


coefplot New_Zealand || Argentina || Spain || Japan ||  Pakistan || Uruguay || Australia || Cyprus || Mexico || Slovakia ||  Sweden || United_States || Taiwan || Poland, keep(1.partisaninpower) yline(0) ytitle(Coefficient on Partisan In Power) legend(off) vertical bycoef coeflabels(,labsize(small) labgap(2) angle(45))


***********************************************************************************************
***3. APPENDIX DESCRIPTIVE STATISTICS AND MODELS
*************************************************

**Appendix C3: Descriptive Statistics, Dependent Variables

svy: mean explicits rejectanti deemphasize conceptualization
sum explicitsupport rejectanti deemphasize conceptualizationsc

**Appendix C4: Descriptive Statistics, Independent variables
svy: mean partisaninpower rosetopower fellfrompower age male married parent loweredu higheredu employ unempl
sum partisaninpower rosetopower fellfrompower age male married parent loweredu higheredu employ unempl


**Appendix E1: Beta Coefficients

reg explicitsupport i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed i.countrynumber [pweight=S017], beta

reg rejectanti i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed i.countrynumber [pweight=S017], beta

logit deemphasizeorder i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed i.countrynumber [pweight=S017]
listcoef, std

reg conceptualization i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed i.countrynumber [pweight=S017], beta

**Appendix E2: Weighted Average Value on Conceptualization Index by Country, Coalition, and Survey Wave.
gen neither = 0
replace neither = 1 if rosetopower==0 & fellfrompower==0


svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==1
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==1
svy: mean conceptualization if after==0 & neither==1 & countrynumber==1

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==2
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==2
svy: mean conceptualization if after==0 & neither==1 & countrynumber==2

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==3
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==3
svy: mean conceptualization if after==0 & neither==1 & countrynumber==3

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==4
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==4
svy: mean conceptualization if after==0 & neither==1 & countrynumber==4

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==5
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==5
svy: mean conceptualization if after==0 & neither==1 & countrynumber==5

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==6
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==6
svy: mean conceptualization if after==0 & neither==1 & countrynumber==6


svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==7
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==7
svy: mean conceptualization if after==0 & neither==1 & countrynumber==7

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==8
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==8
svy: mean conceptualization if after==0 & neither==1 & countrynumber==8

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==9
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==9
svy: mean conceptualization if after==0 & neither==1 & countrynumber==9

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==10
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==10
svy: mean conceptualization if after==0 & neither==1 & countrynumber==10

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==11
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==11
svy: mean conceptualization if after==0 & neither==1 & countrynumber==11

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==12
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==12
svy: mean conceptualization if after==0 & neither==1 & countrynumber==12

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==13
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==13
svy: mean conceptualization if after==0 & neither==1 & countrynumber==13

svy: mean conceptualization if after==0 & rosetopower==1 & countrynumber==14
svy: mean conceptualization if after==0 & fellfrompower==1 & countrynumber==14
svy: mean conceptualization if after==0 & neither==1 & countrynumber==14

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==1
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==1
svy: mean conceptualization if after==1 & neither==1 & countrynumber==1

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==2
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==2
svy: mean conceptualization if after==1 & neither==1 & countrynumber==2

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==3
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==3
svy: mean conceptualization if after==1 & neither==1 & countrynumber==3

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==4
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==4
svy: mean conceptualization if after==1 & neither==1 & countrynumber==4

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==5
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==5
svy: mean conceptualization if after==1 & neither==1 & countrynumber==5

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==6
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==6
svy: mean conceptualization if after==1 & neither==1 & countrynumber==6

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==7
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==7
svy: mean conceptualization if after==1 & neither==1 & countrynumber==7

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==8
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==8
svy: mean conceptualization if after==1 & neither==1 & countrynumber==8

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==9
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==9
svy: mean conceptualization if after==1 & neither==1 & countrynumber==9

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==10
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==10
svy: mean conceptualization if after==1 & neither==1 & countrynumber==10

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==11
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==11
svy: mean conceptualization if after==1 & neither==1 & countrynumber==11

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==12
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==12
svy: mean conceptualization if after==1 & neither==1 & countrynumber==12

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==13
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==13
svy: mean conceptualization if after==1 & neither==1 & countrynumber==13

svy: mean conceptualization if after==1 & rosetopower==1 & countrynumber==14
svy: mean conceptualization if after==1 & fellfrompower==1 & countrynumber==14
svy: mean conceptualization if after==1 & neither==1 & countrynumber==14

**Appendix E3: Multiple imputation
	**Note: The city size variable was not included in the 6th wave of the WVS. Rather than imputing the citysize for about half of the cases, these imputations do not include citysize. When included for the available cases, the variable does not meaningfully alter the results.
	
	gen paysattentiontopolitics = 0
	replace paysattentiontopolitics = 4 - E023
	

*Need to convert specific missing values (DK's versus no answer) to just normal missing before imputing the data.

replace E117 = . if E117>=.
replace E235 = . if E235>=.
replace E114 = . if E114>=.
replace E116 = . if E116>=.
replace E229 = . if E229>=.
replace E233B = . if E233B>=.
replace age = . if age>=.
replace paysattentiontopolitics = . if paysattentiontopolitics>=.

mi set mlong

mi misstable sum E117 E235 E114 E116 E229 E233B partisaninpower rosetopower fellfrompower age male married parent loweredu higheredu employed unemployed paysattentiontopolitics countrynumber

mi misstable patterns E117 E235 E114 E116 E229 E233B age paysattentiontopolitics

mi register imputed  E117 E235 E114 E116 E229 E233B age paysattentiontopolitics 

mi impute mvn E117 E235 E114 E116 E229 E233B age paysattentiontopolitics  = i.partisaninpower i.rosetopower i.fellfrompower i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed i.countrynumber, add(10) rseed (1234)

mi passive: generate impexplicit = (4-E117) + ((E235-1)/3)
mi passive: generate imprejectantidem = E114 + E116 - 2
mi passive: generate impconceptscale = E229 - E233B

mi estimate: mixed impexplicit i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed || countrynumber: partisaninpower, covariance (unstructured)

mi estimate: mixed imprejectantidem i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed || countrynumber: partisaninpower, covariance (unstructured)

mi estimate: mixed impconceptscale i.partisaninpower i.rosetopower i.fellfrompower age i.male i.married i.parent i.loweredu i.higheredu i.employed i.unemployed || countrynumber: partisaninpower, covariance (unstructured)


